package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.LuckProduct;
import com.yami.shop.dao.LuckProductMapper;
import com.yami.shop.service.LuckProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LuckProductServiceImpl extends ServiceImpl<LuckProductMapper,LuckProduct> implements LuckProductService {
    @Autowired
    private LuckProductMapper luckProductMapper;

    @Override
    public List<LuckProduct> queryList(LuckProduct luckProduct){
        return luckProductMapper.queryList(luckProduct);
    }

    @Override
    public void deleteLuckProductByIds(Long[] ids) {
        luckProductMapper.deleteLuckProductByIds(ids);
    }
}
